import {h} from "vue";
import {appConfigType} from "@/types/component/core";
import component from "./connect.vue";

const appConfig: appConfigType = {
    icon: <div class={"material-icons"} style={{fontSize: "50px", opacity: 0.9}}>forum</div>,
    headIcon: <div class={"material-icons"} style={{fontSize: "24px"}}>forum</div>,
    title: "We Connect",
    name: "connect",
    windowHeight: 600,
    windowWidth: 1000,
    windowX: 0,
    windowY: 0,
    windowCenter: true,
    windowHidden: false,
    isFull: null,
    currentPath: "ConnectIndex",
    options: [
        {
            title: "选项1",
            name: "option1",
            selects: [
                {
                    title: "选择内容1",
                    name: "select1",
                    handler: () => {
                        console.log('dasdsa')
                    }
                }
            ],
        }, {
            title: "选项2",
            name: "option2",
            selects: [
                {
                    title: "选择内容1",
                    name: "select1",
                    handler: () => {
                    }
                }, {
                    title: "选择内容2",
                    name: "select2",
                    handler: () => {
                    }
                },
            ],
        },
    ],
    pages: [
        {
            path: "ConnectIndex",
            component: component
        }
    ],
    onDocker: true
}
export default appConfig